<template>
<div>
  <a href="herurl">去百度</a>
  <img src="srcUrl" alt="">
</div>
</template>

<script>

//引入
  import img1 from "./assets/logo.png";
export default {
  data(){
   return {
     herurl:"https://www.baidu.com/",
     srcUrl:img1
   }
  }
}

</script>
